﻿@model ProductReviewStarsModel
@using Nop.Web.Models.Catalog;

<div class="stars-info">
    <div class="stars">
        <span class="stars-bottom">
            <i class="fa fa-star-o"></i>
            <i class="fa fa-star-o"></i>
            <i class="fa fa-star-o"></i>
            <i class="fa fa-star-o"></i>
            <i class="fa fa-star-o"></i>
        </span>
        <span class="stars-top" style="width:@Model.RatingPercent%">
            <i class="fa fa-star"></i>
            <i class="fa fa-star"></i>
            <i class="fa fa-star"></i>
            <i class="fa fa-star"></i>
            <i class="fa fa-star"></i>
        </span>
    </div>
    @if (Model.ShowCount)
    { 
        <span class="stars-count"> (@Model.TotalReviews)</span>
    }
    <div class="clear"></div>
</div>
